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.001095/0.001095, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001147/0.001147, allocations: 194.8 kB / 16.25 MB, free: 6.629 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.289/1.289, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.231/2.231, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5025/0.5038, allocations: 140.4 MB / 0.9492 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003987/0.5078, allocations: 3.305 MB / 0.9525 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002589/0.5104, allocations: 2 MB / 0.9544 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.5107, allocations: 7.938 kB / 0.9544 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008018/0.5115, allocations: 270.9 kB / 0.9547 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005/0.512, allocations: 222.7 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.5126, allocations: 260.9 kB / 0.9552 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004272/0.513, allocations: 407.7 kB / 0.9555 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.5134, allocations: 231.6 kB / 0.9558 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.5137, allocations: 166.9 kB / 0.9559 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.514, allocations: 201.7 kB / 0.9561 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.514, allocations: 24.22 kB / 0.9561 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.5144, allocations: 269.7 kB / 0.9564 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.5145, allocations: 117.9 kB / 0.9565 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.5146, allocations: 148.8 kB / 0.9567 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004258/0.515, allocations: 0.494 MB / 0.9571 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5151, allocations: 4 kB / 0.9571 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5151, allocations: 0 / 0.9571 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.5151, allocations: 0 / 0.9571 GB, free: 3.203 MB / 0.7169 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.0008775/0.516, allocations: 0.5976 MB / 0.9577 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.516, allocations: 13.56 kB / 0.9577 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.768e-05/0.5161, allocations: 60.34 kB / 0.9578 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009449/0.517, allocations: 120.9 kB / 0.9579 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.5173, allocations: 272.4 kB / 0.9582 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.5173, allocations: 18.25 kB / 0.9582 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.5174, allocations: 45.34 kB / 0.9582 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.5181, allocations: 448.5 kB / 0.9587 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.5181, allocations: 1.156 kB / 0.9587 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.5181, allocations: 11.06 kB / 0.9587 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001403/0.5183, allocations: 39.03 kB / 0.9587 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005676/0.5188, allocations: 369.4 kB / 0.9591 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.5209, allocations: 2.224 MB / 0.9612 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.5213, allocations: 269.1 kB / 0.9615 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.5216, allocations: 163 kB / 0.9616 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.5216, allocations: 6.625 kB / 0.9616 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.5216, allocations: 31.69 kB / 0.9617 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.5216, allocations: 0 / 0.9617 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.001702/0.5233, allocations: 1.061 MB / 0.9627 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.5234, allocations: 53.81 kB / 0.9628 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.5237, allocations: 253.9 kB / 0.963 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.5237, allocations: 31.2 kB / 0.963 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.696e-05/0.5238, allocations: 186.4 kB / 0.9632 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.5239, allocations: 85.98 kB / 0.9633 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.524, allocations: 75.97 kB / 0.9634 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.5241, allocations: 337.2 kB / 0.9637 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.5244, allocations: 154.6 kB / 0.9638 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.5248, allocations: 254 kB / 0.9641 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/0.5253, allocations: 404.8 kB / 0.9645 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5253, allocations: 5.344 kB / 0.9645 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001203/0.5266, allocations: 0.6016 MB / 0.9651 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.5266, allocations: 6.562 kB / 0.9651 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5266, allocations: 2 kB / 0.9651 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006867/0.5273, allocations: 191.7 kB / 0.9652 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.5276, allocations: 66.23 kB / 0.9653 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.5305, allocations: 2.502 MB / 0.9678 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.5309, allocations: 22.91 kB / 0.9678 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.5309, allocations: 14.97 kB / 0.9678 GB, free: 10.71 MB / 0.7325 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.0001696/0.5311, allocations: 172 kB / 0.968 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.5312, allocations: 23.34 kB / 0.968 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005345/0.5317, allocations: 354.1 kB / 0.9683 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.5317, allocations: 2.375 kB / 0.9683 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5318, allocations: 0.9375 kB / 0.9683 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5318, allocations: 3.938 kB / 0.9683 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.5328, allocations: 0.8135 MB / 0.9691 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5328, allocations: 4.062 kB / 0.9691 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.5332, allocations: 74.22 kB / 0.9692 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.5332, allocations: 5.469 kB / 0.9692 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.5333, allocations: 11.61 kB / 0.9692 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5333, allocations: 1.125 kB / 0.9692 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5333, allocations: 1.562 kB / 0.9692 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/0.534, allocations: 0.6139 MB / 0.9698 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.5342, allocations: 123.7 kB / 0.9699 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.5342, allocations: 12.12 kB / 0.9699 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.5345, allocations: 14.64 kB / 0.97 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.5345, allocations: 18.67 kB / 0.97 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.5346, allocations: 9.344 kB / 0.97 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002163/0.5348, allocations: 187.3 kB / 0.9702 GB, free: 9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5348, allocations: 5.812 kB / 0.9702 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004165/0.5352, allocations: 88.81 kB / 0.9702 GB, free: 8.984 MB / 0.7325 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.000985/0.5362, allocations: 1.156 MB / 0.9714 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009892/0.5372, allocations: 0.5788 MB / 0.9719 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5372, allocations: 0.9062 kB / 0.9719 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.5374, allocations: 144.6 kB / 0.9721 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.5379, allocations: 64.73 kB / 0.9721 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.5432, allocations: 3.778 MB / 0.9758 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.5436, allocations: 0.7991 MB / 0.9766 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002597/0.5439, allocations: 78.84 kB / 0.9767 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.544, allocations: 82.72 kB / 0.9768 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.544, allocations: 3.938 kB / 0.9768 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3963/0.9403, allocations: 6.746 MB / 0.9834 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.9405, allocations: 244.3 kB / 0.9836 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.871, allocations: 0 / 0.9836 GB, free: 14.02 MB / 0.7481 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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