Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Logit1DQuadratic,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_9_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.00102/0.00102, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001009/0.001009, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.176/1.176, allocations: 222.9 MB / 239.8 MB, free: 4.512 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.127/2.127, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.504, allocations: 140.4 MB / 0.949 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001723/0.5057, allocations: 1.284 MB / 0.9503 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006508/0.5064, allocations: 473.6 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.67e-05/0.5064, allocations: 0 / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.5064, allocations: 3.938 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.769e-05/0.5065, allocations: 1.188 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.5068, allocations: 84.7 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.119e-05/0.5069, allocations: 30.5 kB / 0.9509 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.5069, allocations: 1.938 kB / 0.9509 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.753e-05/0.5069, allocations: 7.969 kB / 0.9509 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.176e-05/0.507, allocations: 14.52 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.507, allocations: 1.281 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.5071, allocations: 98.83 kB / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.5072, allocations: 1.406 kB / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.5072, allocations: 14.69 kB / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.5073, allocations: 100.5 kB / 0.9511 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.5073, allocations: 0 / 0.9511 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.12e-07/0.5073, allocations: 0 / 0.9511 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.5074, allocations: 5.375 kB / 0.9511 GB, free: 7.578 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.0003266/0.5077, allocations: 380.3 kB / 0.9515 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.5077, allocations: 9.688 kB / 0.9515 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.5078, allocations: 40.19 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.5078, allocations: 2.344 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.517e-05/0.5079, allocations: 173.8 kB / 0.9517 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.5079, allocations: 5.891 kB / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.5079, allocations: 7.656 kB / 0.9517 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.712e-05/0.508, allocations: 52.34 kB / 0.9517 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.508, allocations: 3.938 kB / 0.9517 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.508, allocations: 1.375 kB / 0.9517 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.508, allocations: 0 / 0.9517 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.5081, allocations: 9.141 kB / 0.9517 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.5083, allocations: 252 kB / 0.952 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.404e-05/0.5084, allocations: 42.31 kB / 0.952 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.5084, allocations: 17.11 kB / 0.952 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-06/0.5084, allocations: 3.938 kB / 0.952 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.877e-05/0.5085, allocations: 56.92 kB / 0.9521 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.5085, allocations: 0 / 0.9521 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001695/0.5087, allocations: 74.55 kB / 0.9522 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.5087, allocations: 52.78 kB / 0.9522 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.272e-05/0.5088, allocations: 106.1 kB / 0.9523 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.5088, allocations: 33.62 kB / 0.9524 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.617e-05/0.5088, allocations: 85.52 kB / 0.9524 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.5088, allocations: 10.56 kB / 0.9524 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.5089, allocations: 19.22 kB / 0.9525 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.174e-05/0.5089, allocations: 320.2 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.5089, allocations: 5.5 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/0.5089, allocations: 39.67 kB / 0.9528 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.607e-05/0.509, allocations: 46.41 kB / 0.9529 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.509, allocations: 3.938 kB / 0.9529 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.72e-05/0.5091, allocations: 75.45 kB / 0.9529 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.5091, allocations: 5.094 kB / 0.9529 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5091, allocations: 5.312 kB / 0.9529 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.5091, allocations: 1.406 kB / 0.9529 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.332e-05/0.5092, allocations: 11.56 kB / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.5092, allocations: 9.344 kB / 0.953 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.5092, allocations: 13.17 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.5092, allocations: 3.625 kB / 0.953 GB, free: 5.586 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.357e-05/0.5093, allocations: 116.4 kB / 0.9531 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.5093, allocations: 2.5 kB / 0.9531 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.5093, allocations: 4.469 kB / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5093, allocations: 5.469 kB / 0.9531 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5093, allocations: 0 / 0.9531 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5093, allocations: 3.938 kB / 0.9531 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.5095, allocations: 314.8 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5095, allocations: 1.125 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.5095, allocations: 2.438 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.5096, allocations: 1.094 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.5096, allocations: 5.453 kB / 0.9534 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5096, allocations: 0 / 0.9534 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5096, allocations: 4 kB / 0.9534 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.5097, allocations: 165.2 kB / 0.9536 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.5097, allocations: 77.11 kB / 0.9537 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.5097, allocations: 5.453 kB / 0.9537 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.95e-05/0.5098, allocations: 0 / 0.9537 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.5098, allocations: 2.969 kB / 0.9537 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.5098, allocations: 5.562 kB / 0.9537 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.085e-05/0.5098, allocations: 90.86 kB / 0.9538 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5098, allocations: 1.094 kB / 0.9538 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002575/0.5101, allocations: 35.75 kB / 0.9538 GB, free: 4.754 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.0004415/0.5105, allocations: 0.771 MB / 0.9545 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.931e-05/0.5106, allocations: 36.11 kB / 0.9546 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5107, allocations: 1.5 kB / 0.9546 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.5107, allocations: 12.89 kB / 0.9546 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.5109, allocations: 10.09 kB / 0.9546 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006638/0.5116, allocations: 1.285 MB / 0.9559 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.404e-05/0.5116, allocations: 0.6796 MB / 0.9565 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.5117, allocations: 1.5 kB / 0.9565 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.5117, allocations: 14.34 kB / 0.9565 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.5117, allocations: 0 / 0.9565 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5802/1.092, allocations: 1.93 MB / 0.9584 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/1.092, allocations: 249 kB / 0.9587 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.763, allocations: 0 / 0.9587 GB, free: 0.7695 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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