Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Logit1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.0008403/0.0008403, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005143/0.005143, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.000448, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5761/0.5765, allocations: 142.4 MB / 0.9552 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.000911/0.5775, allocations: 0.9454 MB / 0.9561 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006355/0.5781, allocations: 433.3 kB / 0.9565 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.5781, allocations: 3.938 kB / 0.9565 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.5782, allocations: 0.8438 kB / 0.9565 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.948e-05/0.5782, allocations: 0 / 0.9565 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.5786, allocations: 87.91 kB / 0.9566 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.23e-05/0.5786, allocations: 13.02 kB / 0.9566 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.5787, allocations: 13.16 kB / 0.9566 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.845e-05/0.5787, allocations: 11.31 kB / 0.9566 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.197e-05/0.5787, allocations: 6.531 kB / 0.9566 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.5787, allocations: 2.156 kB / 0.9566 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.5789, allocations: 100.7 kB / 0.9567 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.5789, allocations: 2.344 kB / 0.9567 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.5789, allocations: 40.16 kB / 0.9568 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.5791, allocations: 98.28 kB / 0.9569 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5791, allocations: 1.375 kB / 0.9569 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5791, allocations: 0 / 0.9569 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.5791, allocations: 4 kB / 0.9569 GB, free: 6.465 MB / 0.7169 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.0002825/0.5794, allocations: 371.9 kB / 0.9572 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.5794, allocations: 12.22 kB / 0.9572 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.5795, allocations: 30.75 kB / 0.9573 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.973e-05/0.5795, allocations: 0.9375 kB / 0.9573 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.294e-05/0.5796, allocations: 165.6 kB / 0.9574 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.5796, allocations: 5.766 kB / 0.9574 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.5796, allocations: 2.938 kB / 0.9574 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.36e-05/0.5797, allocations: 48.52 kB / 0.9575 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.5797, allocations: 9.344 kB / 0.9575 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.5797, allocations: 0 / 0.9575 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.5797, allocations: 0 / 0.9575 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.922e-05/0.5798, allocations: 8.469 kB / 0.9575 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.58, allocations: 252.3 kB / 0.9577 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/0.5801, allocations: 38.14 kB / 0.9578 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.5801, allocations: 20.09 kB / 0.9578 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.5801, allocations: 1.094 kB / 0.9578 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.5802, allocations: 57.38 kB / 0.9578 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.5802, allocations: 0 / 0.9578 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001619/0.5804, allocations: 73.11 kB / 0.9579 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.5804, allocations: 56.44 kB / 0.958 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.5805, allocations: 103.6 kB / 0.9581 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.5805, allocations: 31.61 kB / 0.9581 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.448e-05/0.5805, allocations: 80.14 kB / 0.9582 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.5805, allocations: 18.05 kB / 0.9582 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.5806, allocations: 11.56 kB / 0.9582 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.474e-05/0.5806, allocations: 320.8 kB / 0.9585 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.5806, allocations: 5.625 kB / 0.9585 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.741e-05/0.5807, allocations: 42.98 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.716e-05/0.5807, allocations: 45.66 kB / 0.9586 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5807, allocations: 5.156 kB / 0.9586 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.55e-05/0.5808, allocations: 70.92 kB / 0.9587 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.5808, allocations: 4.5 kB / 0.9587 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5808, allocations: 1.438 kB / 0.9587 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.5808, allocations: 5.438 kB / 0.9587 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.5809, allocations: 11.84 kB / 0.9587 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5809, allocations: 5.266 kB / 0.9587 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.5809, allocations: 5.656 kB / 0.9587 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.5809, allocations: 3.094 kB / 0.9587 GB, free: 4.512 MB / 0.7169 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 4.164e-05/0.581, allocations: 120.6 kB / 0.9588 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.581, allocations: 1.562 kB / 0.9588 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.596e-05/0.581, allocations: 8.859 kB / 0.9588 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.581, allocations: 4 kB / 0.9588 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.581, allocations: 1.375 kB / 0.9588 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.581, allocations: 0 / 0.9588 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.5812, allocations: 305 kB / 0.9591 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5812, allocations: 5.594 kB / 0.9591 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.5812, allocations: 7 kB / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5812, allocations: 0 / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.5813, allocations: 1.531 kB / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5813, allocations: 0 / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5813, allocations: 3.984 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.5814, allocations: 167.6 kB / 0.9593 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.5814, allocations: 78.61 kB / 0.9594 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.5814, allocations: 0 / 0.9594 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.5815, allocations: 9.391 kB / 0.9594 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.5815, allocations: 1.531 kB / 0.9594 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.5815, allocations: 1.406 kB / 0.9594 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.138e-05/0.5815, allocations: 82.53 kB / 0.9595 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5816, allocations: 4 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002614/0.5818, allocations: 39.52 kB / 0.9595 GB, free: 3.68 MB / 0.7169 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.0004764/0.5823, allocations: 0.7592 MB / 0.9603 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.349e-05/0.5824, allocations: 36.67 kB / 0.9603 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5824, allocations: 0 / 0.9603 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.5824, allocations: 17.62 kB / 0.9603 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.5826, allocations: 5.359 kB / 0.9603 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.5833, allocations: 1.276 MB / 0.9616 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.776e-05/0.5834, allocations: 0.6823 MB / 0.9622 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.674e-05/0.5834, allocations: 3 kB / 0.9622 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.5834, allocations: 8.812 kB / 0.9622 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5834, allocations: 1.375 kB / 0.9622 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.492/3.075, allocations: 1.765 MB / 0.964 GB, free: 96 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/3.075, allocations: 241 kB / 0.9642 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/5.114, allocations: 8.688 kB / 0.9642 GB, free: 15.83 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,time,x,y