Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.007135/0.007136, allocations: 98.81 kB / 15.73 MB, free: 6.441 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.001892/0.001892, allocations: 193.3 kB / 16.67 MB, free: 6.352 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.663/2.663, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 63.84 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2954, allocations: 162.3 MB / 1.242 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004791/0.3003, allocations: 3.276 MB / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002987/0.3033, allocations: 2.014 MB / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.3034, allocations: 7.938 kB / 1.247 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008617/0.3043, allocations: 298.8 kB / 1.247 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.3047, allocations: 234.9 kB / 1.248 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.3053, allocations: 286.9 kB / 1.248 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.3058, allocations: 410.7 kB / 1.248 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.3061, allocations: 196.2 kB / 1.248 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.3064, allocations: 167.4 kB / 1.249 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.3067, allocations: 199.3 kB / 1.249 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.3068, allocations: 27.94 kB / 1.249 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000418/0.3072, allocations: 267.5 kB / 1.249 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.3074, allocations: 119.7 kB / 1.249 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.3075, allocations: 143.3 kB / 1.249 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005882/0.3081, allocations: 498.2 kB / 1.25 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3081, allocations: 3.938 kB / 1.25 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3081, allocations: 0 / 1.25 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3081, allocations: 0 / 1.25 GB, free: 1.703 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001044/0.3092, allocations: 0.6037 MB / 1.25 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.3092, allocations: 8.031 kB / 1.25 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.202e-05/0.3093, allocations: 70.7 kB / 1.25 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009164/0.3102, allocations: 116.6 kB / 1.251 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.3106, allocations: 289.4 kB / 1.251 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.3106, allocations: 16.92 kB / 1.251 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.3107, allocations: 36.45 kB / 1.251 GB, free: 484 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4973/0.808, allocations: 457.1 kB / 1.251 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.8081, allocations: 1.5 kB / 1.251 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.156e-05/0.8082, allocations: 9.875 kB / 1.251 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/0.8084, allocations: 39.16 kB / 1.251 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.809, allocations: 365.3 kB / 1.252 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.8111, allocations: 2.215 MB / 1.254 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.8115, allocations: 261.9 kB / 1.254 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.8117, allocations: 163.5 kB / 1.254 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.8117, allocations: 3.25 kB / 1.254 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.8117, allocations: 41.83 kB / 1.254 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.8117, allocations: 0 / 1.254 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.001492/0.8132, allocations: 1.058 MB / 1.255 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.8133, allocations: 54.72 kB / 1.255 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.8135, allocations: 255.7 kB / 1.256 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.8136, allocations: 31.75 kB / 1.256 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.8136, allocations: 197.1 kB / 1.256 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.8137, allocations: 88.02 kB / 1.256 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.8138, allocations: 77.58 kB / 1.256 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.8139, allocations: 336.4 kB / 1.256 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.8141, allocations: 162.5 kB / 1.256 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.8144, allocations: 238.2 kB / 1.257 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/0.8149, allocations: 418.9 kB / 1.257 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8149, allocations: 4.625 kB / 1.257 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001062/0.816, allocations: 0.5954 MB / 1.258 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.816, allocations: 6.359 kB / 1.258 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.816, allocations: 3.219 kB / 1.258 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006189/0.8166, allocations: 188.4 kB / 1.258 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.817, allocations: 62.81 kB / 1.258 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.8193, allocations: 2.5 MB / 1.26 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.8196, allocations: 27.03 kB / 1.26 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.8197, allocations: 12.11 kB / 1.26 GB, free: 9.391 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.8198, allocations: 167.1 kB / 1.261 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.8198, allocations: 24.5 kB / 1.261 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.8203, allocations: 361.1 kB / 1.261 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.8203, allocations: 3.188 kB / 1.261 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.8203, allocations: 0.6875 kB / 1.261 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.8204, allocations: 1.594 kB / 1.261 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008432/0.8212, allocations: 0.8185 MB / 1.262 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.8212, allocations: 6.031 kB / 1.262 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.8216, allocations: 72.16 kB / 1.262 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.8216, allocations: 1.875 kB / 1.262 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.8216, allocations: 14.41 kB / 1.262 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.8216, allocations: 1.812 kB / 1.262 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8216, allocations: 0.9375 kB / 1.262 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.8222, allocations: 0.608 MB / 1.262 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.938e-05/0.8223, allocations: 131 kB / 1.263 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.8224, allocations: 12.78 kB / 1.263 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.8226, allocations: 10.77 kB / 1.263 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.8226, allocations: 23.22 kB / 1.263 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.8227, allocations: 6.562 kB / 1.263 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001809/0.8228, allocations: 186.3 kB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8229, allocations: 0.9688 kB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003747/0.8232, allocations: 93.31 kB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * 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.0008013/0.824, allocations: 1.161 MB / 1.264 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007869/0.8248, allocations: 0.5434 MB / 1.265 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8248, allocations: 0 / 1.265 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.825, allocations: 151.3 kB / 1.265 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.8254, allocations: 56.05 kB / 1.265 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.8292, allocations: 3.718 MB / 1.268 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.8294, allocations: 0.7868 MB / 1.269 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.8296, allocations: 87.91 kB / 1.269 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.8298, allocations: 80.8 kB / 1.269 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.8298, allocations: 0 / 1.269 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.742/2.571, allocations: 6.937 MB / 1.276 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/18.52, allocations: 14.38 kB / 1.276 GB, free: 2.957 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches