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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0023/0.0023, allocations: 108.5 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437.1 MB / 0.7171 GB, free: 4.098 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.88 kB / 1.027 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8328/0.8348, allocations: 151.6 MB / 1.175 GB, free: 17.46 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001915/0.8367, allocations: 1.234 MB / 1.176 GB, free: 16.59 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007422/0.8375, allocations: 453.5 kB / 1.176 GB, free: 16.3 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.8375, allocations: 0 / 1.176 GB, free: 16.3 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.8376, allocations: 6.172 kB / 1.176 GB, free: 16.3 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.405e-05/0.8376, allocations: 0 / 1.176 GB, free: 16.3 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.8381, allocations: 115.8 kB / 1.176 GB, free: 16.24 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.242e-05/0.8381, allocations: 26.25 kB / 1.176 GB, free: 16.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.8382, allocations: 9.828 kB / 1.176 GB, free: 16.22 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.953e-05/0.8382, allocations: 6.875 kB / 1.176 GB, free: 16.22 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.998e-05/0.8382, allocations: 9.953 kB / 1.176 GB, free: 16.22 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.8383, allocations: 1.531 kB / 1.176 GB, free: 16.22 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.8385, allocations: 102.8 kB / 1.177 GB, free: 16.19 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.8385, allocations: 2.609 kB / 1.177 GB, free: 16.19 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.8385, allocations: 13.25 kB / 1.177 GB, free: 16.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.8387, allocations: 100.9 kB / 1.177 GB, free: 16.15 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8388, allocations: 0 / 1.177 GB, free: 16.15 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8388, allocations: 0 / 1.177 GB, free: 16.15 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.8388, allocations: 4 kB / 1.177 GB, free: 16.14 MB / 0.92 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.0004501/0.8392, allocations: 394.6 kB / 1.177 GB, free: 15.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.8393, allocations: 10.88 kB / 1.177 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.8393, allocations: 36.25 kB / 1.177 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.8394, allocations: 3.594 kB / 1.177 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.592e-05/0.8395, allocations: 167.2 kB / 1.177 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.8395, allocations: 6.781 kB / 1.177 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.8395, allocations: 7.062 kB / 1.177 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.8396, allocations: 45.81 kB / 1.177 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.8396, allocations: 4.594 kB / 1.177 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.8396, allocations: 0.7812 kB / 1.177 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.8396, allocations: 1.062 kB / 1.177 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.447e-05/0.8397, allocations: 9.109 kB / 1.177 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.84, allocations: 250.1 kB / 1.178 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.519e-05/0.8401, allocations: 40.33 kB / 1.178 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.8401, allocations: 23.7 kB / 1.178 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.8401, allocations: 0 / 1.178 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.8403, allocations: 60.25 kB / 1.178 GB, free: 15.05 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.8403, allocations: 0 / 1.178 GB, free: 15.05 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002123/0.8405, allocations: 73 kB / 1.178 GB, free: 15.01 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.8405, allocations: 53.73 kB / 1.178 GB, free: 14.95 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.368e-05/0.8406, allocations: 112.7 kB / 1.178 GB, free: 14.84 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.8406, allocations: 25.7 kB / 1.178 GB, free: 14.8 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.8406, allocations: 85.88 kB / 1.178 GB, free: 14.72 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.8407, allocations: 11.44 kB / 1.178 GB, free: 14.71 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.8407, allocations: 21.03 kB / 1.178 GB, free: 14.69 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.609e-05/0.8407, allocations: 318.3 kB / 1.178 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.8408, allocations: 10.48 kB / 1.178 GB, free: 14.37 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.8408, allocations: 39.11 kB / 1.178 GB, free: 14.33 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.344e-05/0.8409, allocations: 48.03 kB / 1.178 GB, free: 14.29 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8409, allocations: 3.938 kB / 1.178 GB, free: 14.29 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.403e-05/0.841, allocations: 76.98 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.841, allocations: 5.281 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.841, allocations: 10.16 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.841, allocations: 2.562 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.8411, allocations: 9 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.8411, allocations: 1.25 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.8411, allocations: 5.031 kB / 1.179 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.8411, allocations: 8.031 kB / 1.179 GB, free: 14.22 MB / 0.92 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 5.316e-05/0.8412, allocations: 117.1 kB / 1.179 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.8412, allocations: 6.891 kB / 1.179 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.8412, allocations: 5.094 kB / 1.179 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.8413, allocations: 5.344 kB / 1.179 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.8413, allocations: 0.5 kB / 1.179 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8413, allocations: 0.7031 kB / 1.179 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.8415, allocations: 310.3 kB / 1.179 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.8415, allocations: 4.594 kB / 1.179 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.8415, allocations: 4.031 kB / 1.179 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8415, allocations: 0.7031 kB / 1.179 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.8415, allocations: 2.078 kB / 1.179 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.8415, allocations: 0 / 1.179 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8415, allocations: 0 / 1.179 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.8417, allocations: 167.9 kB / 1.179 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.8417, allocations: 81.72 kB / 1.179 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.8417, allocations: 2.188 kB / 1.179 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.037e-05/0.8418, allocations: 0.7031 kB / 1.179 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.8418, allocations: 3.25 kB / 1.179 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.8418, allocations: 2.75 kB / 1.179 GB, free: 13.51 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.867e-05/0.8418, allocations: 84.47 kB / 1.179 GB, free: 13.43 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.8418, allocations: 5.406 kB / 1.179 GB, free: 13.43 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002985/0.8422, allocations: 37.5 kB / 1.179 GB, free: 13.41 MB / 0.92 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.0005669/0.8427, allocations: 0.7824 MB / 1.18 GB, free: 12.71 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.8429, allocations: 36.55 kB / 1.18 GB, free: 12.7 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8429, allocations: 0 / 1.18 GB, free: 12.7 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.211e-05/0.8429, allocations: 15.69 kB / 1.18 GB, free: 12.69 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.8431, allocations: 11.42 kB / 1.18 GB, free: 12.68 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.844, allocations: 1.29 MB / 1.181 GB, free: 11.43 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.8441, allocations: 0.6799 MB / 1.182 GB, free: 10.73 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.8441, allocations: 2.656 kB / 1.182 GB, free: 10.73 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.8442, allocations: 14.98 kB / 1.182 GB, free: 10.73 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.8442, allocations: 0 / 1.182 GB, free: 10.73 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.8668, allocations: 2.087 MB / 1.184 GB, free: 10.26 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/9.139, allocations: 10.02 kB / 1.184 GB, free: 10.25 MB / 0.92 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,time,x,y [Calling sys.exit(0), Time elapsed: 15.137460830854252]