Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_9_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.007759/0.007759, allocations: 101.7 kB / 15.73 MB, free: 6.488 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.001961/0.001961, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 67.39 kB / 0.9504 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.236, allocations: 140.4 MB / 1.087 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004876/0.2409, allocations: 3.267 MB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003171/0.2441, allocations: 2.019 MB / 1.093 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.2443, allocations: 7.938 kB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009145/0.2452, allocations: 286.8 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005513/0.2458, allocations: 238.9 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.2465, allocations: 295.3 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.247, allocations: 406.7 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.2473, allocations: 204 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.2476, allocations: 163.4 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.2479, allocations: 195.3 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.248, allocations: 24 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.2485, allocations: 267.5 kB / 1.095 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.2486, allocations: 119.7 kB / 1.095 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.2488, allocations: 151.2 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005614/0.2493, allocations: 490.2 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2493, allocations: 3.938 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2493, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.2494, allocations: 4 kB / 1.095 GB, free: 10.01 MB / 0.8575 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.001046/0.2504, allocations: 0.6004 MB / 1.096 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2505, allocations: 8.031 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.792e-05/0.2505, allocations: 58.73 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.2516, allocations: 116.4 kB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.2519, allocations: 284.4 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.252, allocations: 20.94 kB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.2521, allocations: 40.47 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/0.2528, allocations: 453.1 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2528, allocations: 0 / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.2529, allocations: 11.98 kB / 1.097 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.253, allocations: 44.47 kB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/0.2537, allocations: 362 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.2561, allocations: 2.21 MB / 1.099 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.2566, allocations: 276.1 kB / 1.1 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.2568, allocations: 160.8 kB / 1.1 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.2568, allocations: 4 kB / 1.1 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2568, allocations: 30.56 kB / 1.1 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.2569, allocations: 0 / 1.1 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.001731/0.2586, allocations: 1.055 MB / 1.101 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.2586, allocations: 63.39 kB / 1.101 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.259, allocations: 260.8 kB / 1.101 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.259, allocations: 33.64 kB / 1.101 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2591, allocations: 192 kB / 1.101 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/0.2592, allocations: 90.69 kB / 1.102 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.2593, allocations: 69.69 kB / 1.102 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2594, allocations: 334.8 kB / 1.102 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.2597, allocations: 159.9 kB / 1.102 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.26, allocations: 249.6 kB / 1.102 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.2606, allocations: 394.9 kB / 1.103 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2606, allocations: 7.938 kB / 1.103 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001187/0.2618, allocations: 0.604 MB / 1.103 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2618, allocations: 8.312 kB / 1.103 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2619, allocations: 4 kB / 1.103 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006923/0.2625, allocations: 192.7 kB / 1.103 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.2629, allocations: 63.89 kB / 1.104 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.2657, allocations: 2.486 MB / 1.106 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.2661, allocations: 28.14 kB / 1.106 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.2661, allocations: 19.94 kB / 1.106 GB, free: 14.42 MB / 0.8731 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.0001632/0.2663, allocations: 165.7 kB / 1.106 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.2664, allocations: 23.72 kB / 1.106 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005607/0.2669, allocations: 361.1 kB / 1.107 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.267, allocations: 0 / 1.107 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.267, allocations: 4 kB / 1.107 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.267, allocations: 4 kB / 1.107 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.268, allocations: 0.8121 MB / 1.107 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.268, allocations: 0 / 1.107 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.2685, allocations: 79.88 kB / 1.107 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2685, allocations: 0 / 1.107 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.2685, allocations: 8 kB / 1.107 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.2685, allocations: 8.047 kB / 1.107 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2685, allocations: 4 kB / 1.107 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007107/0.2692, allocations: 0.6064 MB / 1.108 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.2694, allocations: 128.8 kB / 1.108 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.2694, allocations: 8 kB / 1.108 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.2697, allocations: 11.98 kB / 1.108 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2698, allocations: 23.92 kB / 1.108 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.2698, allocations: 4.094 kB / 1.108 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002257/0.27, allocations: 188.5 kB / 1.108 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.27, allocations: 0 / 1.108 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004206/0.2704, allocations: 88 kB / 1.108 GB, free: 11.8 MB / 0.8731 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.001006/0.2715, allocations: 1.165 MB / 1.11 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009025/0.2724, allocations: 0.548 MB / 1.11 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.2724, allocations: 0 / 1.11 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.2726, allocations: 143.9 kB / 1.11 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.2731, allocations: 62.09 kB / 1.11 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004942/0.278, allocations: 3.69 MB / 1.114 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2784, allocations: 0.799 MB / 1.115 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002247/0.2786, allocations: 78.91 kB / 1.115 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.2787, allocations: 79.41 kB / 1.115 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.2788, allocations: 0 / 1.115 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.304, allocations: 6.925 MB / 1.122 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.394/9.698, allocations: 9.609 kB / 1.122 GB, free: 14.24 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches