Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_latest_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.009741/0.009748, allocations: 105.1 kB / 15.74 MB, free: 5.984 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.002218/0.002218, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 67.88 kB / 1.054 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8458/0.8473, allocations: 157.4 MB / 1.207 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002379/0.8497, allocations: 1.228 MB / 1.208 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.8507, allocations: 462.4 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.8507, allocations: 0 / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.8508, allocations: 0 / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.829e-05/0.8508, allocations: 3.938 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.8515, allocations: 119.6 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.836e-05/0.8515, allocations: 23.91 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.8516, allocations: 7.984 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.8516, allocations: 4 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.034e-05/0.8516, allocations: 7.922 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.8517, allocations: 4 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.8519, allocations: 103.8 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.8519, allocations: 3.984 kB / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.852, allocations: 11.94 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.8522, allocations: 99.8 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8523, allocations: 4 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8523, allocations: 0 / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.8523, allocations: 0 / 1.209 GB, free: 11.54 MB / 0.9356 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.0005204/0.8528, allocations: 387.4 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.8528, allocations: 8.031 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.242e-05/0.8529, allocations: 34.75 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.853, allocations: 12.78 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.8531, allocations: 164.3 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.8531, allocations: 12.36 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.8531, allocations: 384 / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.8532, allocations: 42.25 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.8533, allocations: 7.922 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.8533, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8533, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.699e-05/0.8533, allocations: 11.98 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.8537, allocations: 248.9 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.464e-05/0.8538, allocations: 38.52 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.8539, allocations: 20.94 kB / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.8539, allocations: 0 / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.854, allocations: 59.39 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.8541, allocations: 0 / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0002431/0.8543, allocations: 85.47 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.8544, allocations: 51.41 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/0.8544, allocations: 105.8 kB / 1.21 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.8545, allocations: 29.7 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.8545, allocations: 84.14 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.8546, allocations: 7.891 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.8546, allocations: 21.72 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.8547, allocations: 318.8 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.8547, allocations: 12 kB / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/0.8548, allocations: 35.92 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.712e-05/0.8549, allocations: 43.38 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.8549, allocations: 3.938 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000115/0.855, allocations: 89.45 kB / 1.211 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.855, allocations: 4 kB / 1.211 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.855, allocations: 4 kB / 1.211 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.8551, allocations: 7.938 kB / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.8552, allocations: 8 kB / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.8552, allocations: 0 / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.8552, allocations: 3.938 kB / 1.211 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.8552, allocations: 4 kB / 1.211 GB, free: 9.348 MB / 0.9356 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 0.0001201/0.8553, allocations: 121.8 kB / 1.211 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.8554, allocations: 11.91 kB / 1.211 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.8554, allocations: 7.969 kB / 1.211 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.8554, allocations: 0 / 1.211 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8554, allocations: 0 / 1.211 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.8554, allocations: 4.078 kB / 1.211 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.8557, allocations: 302.6 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8557, allocations: 0 / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.8557, allocations: 4 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.8558, allocations: 0 / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.8558, allocations: 0 / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.8558, allocations: 4 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8558, allocations: 4 kB / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.856, allocations: 167.4 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.856, allocations: 81.02 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.856, allocations: 0 / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.511e-05/0.8561, allocations: 0 / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.8561, allocations: 7.984 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.8561, allocations: 3.938 kB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.8562, allocations: 91.41 kB / 1.212 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8562, allocations: 4 kB / 1.212 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003188/0.8565, allocations: 35.92 kB / 1.212 GB, free: 8.406 MB / 0.9356 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.0007643/0.8573, allocations: 0.7748 MB / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.8574, allocations: 35.92 kB / 1.213 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8575, allocations: 0 / 1.213 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.427e-05/0.8575, allocations: 15.98 kB / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.8577, allocations: 4 kB / 1.213 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.8588, allocations: 1.29 MB / 1.214 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.8591, allocations: 0.6807 MB / 1.215 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.8591, allocations: 0 / 1.215 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.8592, allocations: 15.44 kB / 1.215 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.8592, allocations: 0 / 1.215 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.8788, allocations: 2.111 MB / 1.217 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.665, allocations: 11.19 kB / 1.217 GB, free: 3.453 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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