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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001563/0.001563, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001998/0.001998, allocations: 189.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.055/2.055, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.498/2.498, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.47 kB / 0.8987 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2364, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004255/0.2406, allocations: 3.31 MB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002745/0.2434, allocations: 2.01 MB / 1.058 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.2436, allocations: 4 kB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008063/0.2444, allocations: 271 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.2449, allocations: 219.1 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.2455, allocations: 267.5 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.2459, allocations: 402.7 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.2463, allocations: 233.7 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.2465, allocations: 155.5 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.2469, allocations: 215.2 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.2469, allocations: 24 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.2473, allocations: 263.5 kB / 1.06 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2474, allocations: 119.7 kB / 1.06 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.2475, allocations: 151.2 kB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.2481, allocations: 0.4948 MB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2481, allocations: 8 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2481, allocations: 0 / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2481, allocations: 0 / 1.06 GB, free: 0.5039 MB / 0.8106 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.0009537/0.2491, allocations: 0.5888 MB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2491, allocations: 12.56 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.726e-05/0.2492, allocations: 62.72 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008713/0.2501, allocations: 120.4 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.2504, allocations: 277.2 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.2504, allocations: 20.92 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.2505, allocations: 36.44 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006208/0.2511, allocations: 465 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2511, allocations: 4 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.2512, allocations: 8 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.2513, allocations: 40.53 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.2519, allocations: 369.9 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.2541, allocations: 2.21 MB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.2545, allocations: 262.4 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.2547, allocations: 168.7 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.2547, allocations: 8 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.2548, allocations: 30.56 kB / 1.065 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.2548, allocations: 4 kB / 1.065 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.001557/0.2563, allocations: 1.047 MB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.2564, allocations: 63.2 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.2566, allocations: 260.8 kB / 1.066 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.2567, allocations: 29.7 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.2568, allocations: 188 kB / 1.066 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.2568, allocations: 82.84 kB / 1.066 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.257, allocations: 77.58 kB / 1.067 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.2571, allocations: 338.8 kB / 1.067 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.2573, allocations: 155.9 kB / 1.067 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.2576, allocations: 245.6 kB / 1.067 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/0.2581, allocations: 406.8 kB / 1.068 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2581, allocations: 7.938 kB / 1.068 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001072/0.2592, allocations: 0.5933 MB / 1.068 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2592, allocations: 9.25 kB / 1.068 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2593, allocations: 0 / 1.068 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/0.2599, allocations: 192.9 kB / 1.068 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.2602, allocations: 67.89 kB / 1.069 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.2627, allocations: 2.504 MB / 1.071 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.2631, allocations: 19.98 kB / 1.071 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.2631, allocations: 19.98 kB / 1.071 GB, free: 4.906 MB / 0.8262 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.0001437/0.2633, allocations: 167.6 kB / 1.071 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.2633, allocations: 23.72 kB / 1.071 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000491/0.2638, allocations: 350.5 kB / 1.072 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2638, allocations: 0 / 1.072 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.2639, allocations: 0 / 1.072 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2639, allocations: 7.984 kB / 1.072 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009308/0.2648, allocations: 0.8158 MB / 1.072 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2648, allocations: 4.062 kB / 1.072 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.2652, allocations: 79.88 kB / 1.072 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.2652, allocations: 3.984 kB / 1.072 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.2652, allocations: 8 kB / 1.072 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2652, allocations: 0 / 1.072 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.2653, allocations: 7.938 kB / 1.072 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.2659, allocations: 0.6104 MB / 1.073 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.266, allocations: 124.8 kB / 1.073 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.2661, allocations: 8 kB / 1.073 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.2663, allocations: 15.97 kB / 1.073 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.2664, allocations: 15.92 kB / 1.073 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.2664, allocations: 8 kB / 1.073 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001974/0.2666, allocations: 188.5 kB / 1.073 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.593e-06/0.2666, allocations: 4 kB / 1.073 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003559/0.2669, allocations: 91.94 kB / 1.073 GB, free: 2.281 MB / 0.8262 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.0008985/0.2679, allocations: 1.158 MB / 1.075 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008573/0.2687, allocations: 0.5666 MB / 1.075 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2687, allocations: 0 / 1.075 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.2689, allocations: 148.5 kB / 1.075 GB, free: 376 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.2693, allocations: 67.75 kB / 1.075 GB, free: 312 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/0.2739, allocations: 3.8 MB / 1.079 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.2742, allocations: 0.7912 MB / 1.08 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.2744, allocations: 78.91 kB / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.2746, allocations: 91.39 kB / 1.08 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.2746, allocations: 0 / 1.08 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.776/5.051, allocations: 6.738 MB / 1.087 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003448/5.051, allocations: 247.6 kB / 1.087 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.769/8.82, allocations: 3.938 kB / 1.087 GB, free: 4.559 MB / 0.8419 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=50 --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