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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001197/0.001197, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.206/1.206, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.091/2.091, allocations: 390.3 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.507/0.5082, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001845/0.5101, allocations: 1.229 MB / 0.9509 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006315/0.5108, allocations: 456.5 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.5108, allocations: 3.938 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.5108, allocations: 0 / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.792e-05/0.5109, allocations: 9.547 kB / 0.9514 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.5113, allocations: 106 kB / 0.9515 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.619e-05/0.5113, allocations: 21.58 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.5114, allocations: 14.81 kB / 0.9515 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.874e-05/0.5114, allocations: 7.938 kB / 0.9515 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.528e-05/0.5114, allocations: 11.3 kB / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.5114, allocations: 1.062 kB / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.5116, allocations: 104.8 kB / 0.9516 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.5116, allocations: 5.047 kB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.5117, allocations: 19.86 kB / 0.9516 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.5118, allocations: 92.12 kB / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.5118, allocations: 0 / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5118, allocations: 4 kB / 0.9517 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.5118, allocations: 0 / 0.9517 GB, free: 7.566 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.0003312/0.5122, allocations: 381.4 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.5122, allocations: 9.5 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.5123, allocations: 43.83 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.5123, allocations: 2.062 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.49e-05/0.5123, allocations: 167.1 kB / 0.9523 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.5124, allocations: 1.844 kB / 0.9523 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.5124, allocations: 2.656 kB / 0.9523 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.429e-05/0.5125, allocations: 53.08 kB / 0.9524 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.5125, allocations: 7.875 kB / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.5125, allocations: 0 / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.5125, allocations: 5.375 kB / 0.9524 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.085e-05/0.5125, allocations: 4.125 kB / 0.9524 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.5128, allocations: 248.8 kB / 0.9526 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.532e-05/0.5129, allocations: 44.94 kB / 0.9527 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.5129, allocations: 25.14 kB / 0.9527 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-06/0.5129, allocations: 1.188 kB / 0.9527 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.851e-05/0.5131, allocations: 53.56 kB / 0.9527 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.5131, allocations: 0 / 0.9527 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001686/0.5132, allocations: 81.77 kB / 0.9528 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.5133, allocations: 56.81 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.175e-05/0.5133, allocations: 105.8 kB / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.5133, allocations: 26.95 kB / 0.953 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.708e-05/0.5133, allocations: 85.48 kB / 0.9531 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.5134, allocations: 8.875 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.5134, allocations: 24.23 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.332e-05/0.5134, allocations: 316.5 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.5135, allocations: 5.656 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.5135, allocations: 38.27 kB / 0.9535 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.5135, allocations: 51.23 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5135, allocations: 3.938 kB / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.251e-05/0.5136, allocations: 70.66 kB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.5136, allocations: 9.406 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5137, allocations: 1.406 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.5137, allocations: 1.188 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.28e-05/0.5137, allocations: 15.58 kB / 0.9536 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.5137, allocations: 1.062 kB / 0.9536 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.5138, allocations: 10.28 kB / 0.9536 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.5138, allocations: 2 kB / 0.9536 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.297e-05/0.5138, allocations: 117.4 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.5138, allocations: 1.281 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.5139, allocations: 9.281 kB / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.5139, allocations: 1.219 kB / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5139, allocations: 3.984 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5139, allocations: 1.281 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.514, allocations: 309.4 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5141, allocations: 1.219 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/0.5141, allocations: 6.578 kB / 0.954 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5141, allocations: 1.25 kB / 0.954 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.5141, allocations: 4.5 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5141, allocations: 5.281 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5141, allocations: 0 / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.5142, allocations: 175.6 kB / 0.9542 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.5142, allocations: 79.73 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.5142, allocations: 0 / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.813e-05/0.5143, allocations: 1.438 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.5143, allocations: 1.438 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.5143, allocations: 1.188 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.009e-05/0.5144, allocations: 92.3 kB / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5144, allocations: 0 / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002502/0.5146, allocations: 36.31 kB / 0.9544 GB, free: 4.75 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.0004516/0.5151, allocations: 0.7726 MB / 0.9552 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.385e-05/0.5152, allocations: 35.33 kB / 0.9552 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5152, allocations: 1.562 kB / 0.9552 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.5152, allocations: 17 kB / 0.9552 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.5154, allocations: 1.625 kB / 0.9552 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006627/0.5161, allocations: 1.285 MB / 0.9565 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.034e-05/0.5162, allocations: 0.6834 MB / 0.9572 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.814e-05/0.5162, allocations: 2.438 kB / 0.9572 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.5162, allocations: 17 kB / 0.9572 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.5162, allocations: 4 kB / 0.9572 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.5325, allocations: 2.047 MB / 0.9592 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.72/8.253, allocations: 16.02 kB / 0.9592 GB, free: 0.875 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