Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 197.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.418/2.418, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 63.88 kB / 0.8686 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.5421, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001925/0.5441, allocations: 1.296 MB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000716/0.5448, allocations: 470.5 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.5448, allocations: 0 / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.5449, allocations: 0 / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.785e-05/0.5449, allocations: 11.88 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.5453, allocations: 83.8 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.587e-05/0.5453, allocations: 23.91 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.241e-05/0.5454, allocations: 8 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.029e-05/0.5454, allocations: 11.98 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.367e-05/0.5454, allocations: 7.938 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.5454, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.5456, allocations: 99.89 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.5456, allocations: 4 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.5457, allocations: 15.86 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.5458, allocations: 99.75 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.5458, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.92e-07/0.5458, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.5458, allocations: 4 kB / 1.019 GB, free: 0.6758 MB / 0.7637 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.0003773/0.5462, allocations: 391.3 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.5463, allocations: 8.031 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.5463, allocations: 30.75 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.5463, allocations: 4.938 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.223e-05/0.5464, allocations: 168.2 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.5465, allocations: 8.375 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.5465, allocations: 384 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.5466, allocations: 46.23 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.5466, allocations: 3.938 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.5466, allocations: 3.938 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.5466, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.268e-05/0.5466, allocations: 8 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.5469, allocations: 249 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.619e-05/0.547, allocations: 38.45 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.453e-05/0.547, allocations: 24.94 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-06/0.547, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.5472, allocations: 63.33 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.5472, allocations: 0 / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001721/0.5473, allocations: 73.86 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.5474, allocations: 51.41 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.892e-05/0.5474, allocations: 113.9 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.5475, allocations: 29.7 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.5475, allocations: 84.14 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.5475, allocations: 11.81 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.5476, allocations: 29.64 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.5476, allocations: 314.8 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.5477, allocations: 11.98 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.5477, allocations: 35.44 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.446e-05/0.5478, allocations: 51.36 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5478, allocations: 3.938 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.489e-05/0.5479, allocations: 73.53 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.158e-06/0.5479, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.5479, allocations: 8.047 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.5479, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-05/0.548, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.548, allocations: 7.938 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.548, allocations: 7.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.548, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_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 5.809e-05/0.5481, allocations: 114.3 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.5481, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.5481, allocations: 11.95 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.5481, allocations: 8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5481, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5481, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.5484, allocations: 306.4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5484, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.764e-05/0.5484, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5484, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.5484, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5484, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5484, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.5485, allocations: 179.7 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.5486, allocations: 77.11 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.5486, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.5486, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.5487, allocations: 8 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.5487, allocations: 3.984 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.172e-05/0.5487, allocations: 79.28 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.202e-06/0.5487, allocations: 4 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002571/0.549, allocations: 51.8 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$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.0005441/0.5495, allocations: 0.769 MB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.857e-05/0.5496, allocations: 35.92 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.5496, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.487e-05/0.5497, allocations: 16 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.5499, allocations: 3.984 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008491/0.5507, allocations: 1.29 MB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.5509, allocations: 0.6809 MB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.921e-05/0.5509, allocations: 4 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.551, allocations: 19.36 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.551, allocations: 0 / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.559/2.11, allocations: 1.937 MB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002769/2.11, allocations: 250.2 kB / 1.026 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/4.102, allocations: 0 / 1.026 GB, free: 8.516 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,time,x,y