Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.001303/0.001303, allocations: 111.9 kB / 17.54 MB, free: 4.641 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.001446/0.001446, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.484/2.484, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 63.89 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7524/0.7541, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003784/0.7579, allocations: 3.207 MB / 1.275 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.76, allocations: 1.773 MB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.13e-05/0.7601, allocations: 7.438 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000836/0.7609, allocations: 348.6 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.7613, allocations: 214.4 kB / 1.277 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.7616, allocations: 178.4 kB / 1.277 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.7619, allocations: 319.8 kB / 1.277 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.7622, allocations: 156.3 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.7623, allocations: 146.8 kB / 1.278 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.7626, allocations: 169.5 kB / 1.278 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.7627, allocations: 21.25 kB / 1.278 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.763, allocations: 245.3 kB / 1.278 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-05/0.7631, allocations: 107.4 kB / 1.278 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.7632, allocations: 122.7 kB / 1.278 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.7637, allocations: 426.1 kB / 1.279 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7637, allocations: 5.422 kB / 1.279 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7637, allocations: 0 / 1.279 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.371e-06/0.7637, allocations: 1 kB / 1.279 GB, free: 3.355 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007398/0.7644, allocations: 0.5596 MB / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.7645, allocations: 9.688 kB / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.514e-05/0.7645, allocations: 61.23 kB / 1.279 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006649/0.7652, allocations: 92.64 kB / 1.279 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.7654, allocations: 261.7 kB / 1.28 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.7655, allocations: 17.56 kB / 1.28 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.413e-05/0.7655, allocations: 22.19 kB / 1.28 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.7661, allocations: 376.1 kB / 1.28 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.7661, allocations: 0.5625 kB / 1.28 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.7661, allocations: 10.94 kB / 1.28 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.661e-05/0.7662, allocations: 30.33 kB / 1.28 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.7667, allocations: 305.4 kB / 1.28 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.768, allocations: 1.536 MB / 1.282 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.7683, allocations: 211.5 kB / 1.282 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.7685, allocations: 106.6 kB / 1.282 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.81e-05/0.7686, allocations: 86.44 kB / 1.282 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.7686, allocations: 46.05 kB / 1.282 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.243e-06/0.7686, allocations: 0 / 1.282 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.000984/0.7696, allocations: 0.7889 MB / 1.283 GB, free: 224 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.7696, allocations: 54.69 kB / 1.283 GB, free: 160 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.7697, allocations: 193.6 kB / 1.283 GB, free: 24 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.7698, allocations: 28.2 kB / 1.283 GB, free: 15.99 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.7699, allocations: 169.7 kB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.7699, allocations: 73.52 kB / 1.283 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.256e-05/0.77, allocations: 59.39 kB / 1.284 GB, free: 15.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7702, allocations: 330.6 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.7703, allocations: 114.5 kB / 1.284 GB, free: 15.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.7705, allocations: 165.2 kB / 1.284 GB, free: 15.29 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.7709, allocations: 299.8 kB / 1.284 GB, free: 15.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7709, allocations: 0 / 1.284 GB, free: 15.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006906/0.7716, allocations: 419.3 kB / 1.285 GB, free: 14.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.7716, allocations: 4.375 kB / 1.285 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.7716, allocations: 2.188 kB / 1.285 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.772, allocations: 100.8 kB / 1.285 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.7722, allocations: 55.36 kB / 1.285 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.774, allocations: 1.876 MB / 1.287 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.7742, allocations: 20.11 kB / 1.287 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.7742, allocations: 10.09 kB / 1.287 GB, free: 13.33 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.7744, allocations: 159.3 kB / 1.287 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.7744, allocations: 17.19 kB / 1.287 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000454/0.7749, allocations: 304.9 kB / 1.287 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.7749, allocations: 5.469 kB / 1.287 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.7749, allocations: 1.125 kB / 1.287 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.7749, allocations: 9.203 kB / 1.287 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000838/0.7757, allocations: 0.6947 MB / 1.288 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7757, allocations: 1.562 kB / 1.288 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.776, allocations: 57.83 kB / 1.288 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.776, allocations: 5.781 kB / 1.288 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.776, allocations: 7.391 kB / 1.288 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.7761, allocations: 5.625 kB / 1.288 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7761, allocations: 8.562 kB / 1.288 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.7766, allocations: 0.5066 MB / 1.289 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.7767, allocations: 119.2 kB / 1.289 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.7768, allocations: 6.906 kB / 1.289 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.7769, allocations: 14.61 kB / 1.289 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.777, allocations: 14.09 kB / 1.289 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.777, allocations: 9.141 kB / 1.289 GB, free: 12.13 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001276/0.7771, allocations: 152.1 kB / 1.289 GB, free: 12.03 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7771, allocations: 3.938 kB / 1.289 GB, free: 12.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003216/0.7774, allocations: 61.61 kB / 1.289 GB, free: 12.02 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0008868/0.7783, allocations: 1.066 MB / 1.29 GB, free: 11.19 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000644/0.779, allocations: 401.4 kB / 1.29 GB, free: 10.99 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.779, allocations: 4.375 kB / 1.29 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.7791, allocations: 114.5 kB / 1.29 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.7795, allocations: 38.7 kB / 1.29 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.7829, allocations: 2.906 MB / 1.293 GB, free: 8.965 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.7833, allocations: 0.7731 MB / 1.294 GB, free: 8.258 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000141/0.7834, allocations: 55.75 kB / 1.294 GB, free: 8.254 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.7835, allocations: 64.73 kB / 1.294 GB, free: 8.207 MB / 1.014 GB Notification: Performance of SimCode: time 3.7e-07/0.7835, allocations: 1.438 kB / 1.294 GB, free: 8.207 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.8153, allocations: 5.125 MB / 1.299 GB, free: 7.574 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.594/9.409, allocations: 9.797 kB / 1.299 GB, free: 7.57 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.651454591999936]