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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.0105/0.0105, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.002097/0.002097, allocations: 195.9 kB / 16.68 MB, free: 5.926 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.433/2.433, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 67.89 kB / 1.018 GB, free: 9.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9334/0.9348, allocations: 151.6 MB / 1.166 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002774/0.9376, allocations: 1.239 MB / 1.167 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.9387, allocations: 468.9 kB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.9388, allocations: 7.875 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.9389, allocations: 0 / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.9389, allocations: 3.938 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.9395, allocations: 115.6 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.328e-05/0.9396, allocations: 11.94 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.9396, allocations: 11.98 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.106e-05/0.9397, allocations: 7.938 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.139e-05/0.9397, allocations: 15.92 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.9397, allocations: 0 / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.94, allocations: 103.8 kB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.94, allocations: 3.984 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.94, allocations: 15.92 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.9402, allocations: 99.8 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.9402, allocations: 0 / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9403, allocations: 0 / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.9403, allocations: 4 kB / 1.168 GB, free: 1.871 MB / 0.8887 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.000521/0.9408, allocations: 383.6 kB / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.9408, allocations: 8.922 kB / 1.169 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.935e-05/0.9409, allocations: 42.69 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.941, allocations: 4.844 kB / 1.169 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.9411, allocations: 172.3 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.9411, allocations: 384 / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.9411, allocations: 8.312 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.9412, allocations: 38.25 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.9413, allocations: 3.938 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.9413, allocations: 0 / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.9413, allocations: 8 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.952e-05/0.9413, allocations: 7.984 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.9417, allocations: 245 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.9418, allocations: 38.44 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.9419, allocations: 16.86 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.9419, allocations: 4 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.9422, allocations: 63.47 kB / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/0.9422, allocations: 0 / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0003007/0.9425, allocations: 77.53 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.9425, allocations: 59.39 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.9426, allocations: 97.86 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.9426, allocations: 29.7 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.9427, allocations: 92.12 kB / 1.169 GB, free: 288 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.9427, allocations: 7.906 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.9427, allocations: 17.72 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9429, allocations: 318.8 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.9429, allocations: 11.94 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/0.9429, allocations: 35.42 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.163e-05/0.943, allocations: 47.38 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.943, allocations: 7.938 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001056/0.9431, allocations: 77.52 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.9431, allocations: 4 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9432, allocations: 4 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.9432, allocations: 0.5 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.9432, allocations: 11.94 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.9433, allocations: 4.062 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.9433, allocations: 7.938 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.9433, allocations: 7.984 kB / 1.17 GB, free: 15.68 MB / 0.9044 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 8.245e-05/0.9434, allocations: 121.7 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.9434, allocations: 7.906 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.9435, allocations: 3.969 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.9435, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9435, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.9435, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.9437, allocations: 314.5 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9438, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.9438, allocations: 4 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.9438, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.9438, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.9438, allocations: 7.984 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.9438, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.944, allocations: 163.4 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.944, allocations: 85.02 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.9441, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/0.9441, allocations: 7.984 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.9441, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.9442, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.662e-05/0.9442, allocations: 87.28 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9442, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002968/0.9445, allocations: 35.92 kB / 1.171 GB, free: 14.75 MB / 0.9044 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.0007111/0.9452, allocations: 0.7647 MB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.9454, allocations: 35.92 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.9454, allocations: 4 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/0.9454, allocations: 20.05 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.9456, allocations: 4 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.9467, allocations: 1.289 MB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.947, allocations: 0.6807 MB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.947, allocations: 8 kB / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.947, allocations: 11.44 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of SimCode: time 3.61e-07/0.947, allocations: 0 / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.9657, allocations: 2.092 MB / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.866, allocations: 6.375 kB / 1.176 GB, free: 9.809 MB / 0.9044 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