Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 111.8 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002698/0.002698, allocations: 202 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 250.2 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.818/2.818, allocations: 476.7 MB / 0.7637 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.91 kB / 1.108 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8112/0.8132, allocations: 168.7 MB / 1.273 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002471/0.8156, allocations: 1.229 MB / 1.274 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009935/0.8166, allocations: 470.4 kB / 1.274 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.8167, allocations: 0 / 1.274 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.8167, allocations: 3.984 kB / 1.274 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.918e-05/0.8167, allocations: 3.938 kB / 1.274 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.8173, allocations: 111.7 kB / 1.275 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.8173, allocations: 27.84 kB / 1.275 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.318e-05/0.8174, allocations: 4 kB / 1.275 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.652e-05/0.8174, allocations: 7.984 kB / 1.275 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.255e-05/0.8175, allocations: 7.938 kB / 1.275 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.8175, allocations: 0 / 1.275 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.8177, allocations: 119.8 kB / 1.275 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.8177, allocations: 7.969 kB / 1.275 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.8178, allocations: 11.94 kB / 1.275 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.818, allocations: 101.6 kB / 1.275 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.818, allocations: 4 kB / 1.275 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/0.818, allocations: 0 / 1.275 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.818, allocations: 0 / 1.275 GB, free: 2.227 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005734/0.8186, allocations: 400.7 kB / 1.275 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.8186, allocations: 8.031 kB / 1.275 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.542e-05/0.8187, allocations: 30.75 kB / 1.275 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.8187, allocations: 8.922 kB / 1.275 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.8188, allocations: 168.3 kB / 1.275 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.8188, allocations: 8.375 kB / 1.275 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.8189, allocations: 4.359 kB / 1.275 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.819, allocations: 42.25 kB / 1.275 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.819, allocations: 3.938 kB / 1.275 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.819, allocations: 0 / 1.275 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.819, allocations: 0 / 1.275 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.184e-05/0.819, allocations: 4 kB / 1.275 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.8194, allocations: 253 kB / 1.276 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.62e-05/0.8195, allocations: 42.45 kB / 1.276 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.8195, allocations: 20.94 kB / 1.276 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.8195, allocations: 0 / 1.276 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.8197, allocations: 55.39 kB / 1.276 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.8197, allocations: 0 / 1.276 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002185/0.8199, allocations: 73.62 kB / 1.276 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.8199, allocations: 59.41 kB / 1.276 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.82, allocations: 109.8 kB / 1.276 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.82, allocations: 25.7 kB / 1.276 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.8201, allocations: 84.14 kB / 1.276 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.8201, allocations: 15.88 kB / 1.276 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.8201, allocations: 17.72 kB / 1.276 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.8203, allocations: 318.8 kB / 1.277 GB, free: 280 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.8203, allocations: 11.98 kB / 1.277 GB, free: 268 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.852e-05/0.8204, allocations: 35.42 kB / 1.277 GB, free: 220 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.686e-05/0.8204, allocations: 47.38 kB / 1.277 GB, free: 160 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8204, allocations: 3.938 kB / 1.277 GB, free: 156 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001173/0.8205, allocations: 85.59 kB / 1.277 GB, free: 64 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.8206, allocations: 11.94 kB / 1.277 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8206, allocations: 3.984 kB / 1.277 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.8206, allocations: 0 / 1.277 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.8206, allocations: 8 kB / 1.277 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.8206, allocations: 3.938 kB / 1.277 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.8207, allocations: 4 kB / 1.277 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.8207, allocations: 4 kB / 1.277 GB, free: 28 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.8208, allocations: 113.8 kB / 1.277 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.8208, allocations: 16 kB / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.8208, allocations: 3.969 kB / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.8208, allocations: 0 / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8208, allocations: 0 / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.8208, allocations: 0 / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.8212, allocations: 311 kB / 1.277 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8212, allocations: 4 kB / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.8212, allocations: 4.062 kB / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8212, allocations: 0 / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.8212, allocations: 4 kB / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8212, allocations: 4 kB / 1.277 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8212, allocations: 0 / 1.277 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.8214, allocations: 169 kB / 1.277 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.8214, allocations: 81.06 kB / 1.277 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.8214, allocations: 4 kB / 1.277 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/0.8215, allocations: 0 / 1.277 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.8215, allocations: 3.984 kB / 1.277 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.8215, allocations: 4 kB / 1.277 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.8216, allocations: 87.28 kB / 1.278 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8216, allocations: 0 / 1.278 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002914/0.8218, allocations: 39.8 kB / 1.278 GB, free: 15.1 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,y,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007975/0.8226, allocations: 0.7778 MB / 1.278 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.8228, allocations: 31.98 kB / 1.278 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8228, allocations: 0 / 1.278 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/0.8228, allocations: 19.92 kB / 1.278 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.823, allocations: 6.031 kB / 1.278 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.8242, allocations: 1.299 MB / 1.28 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.8245, allocations: 0.6807 MB / 1.28 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.8245, allocations: 0 / 1.28 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.8245, allocations: 15.44 kB / 1.28 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8245, allocations: 0 / 1.28 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.8481, allocations: 2.086 MB / 1.282 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.9, allocations: 8.047 kB / 1.282 GB, free: 10.14 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,time,x,y [Calling sys.exit(0), Time elapsed: 15.073259429074824]